package com.example.experiment1.FactoryPattern.pen;

public class BluePenCore extends PenCore{
    public BluePenCore() {
        super("蓝色");
    }

    public void writeWord(String s){
        System.out.println("用["+color+"笔芯]写出{"+color+"}的字:" + s);
    }

}
